﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using AxShockwaveFlashObjects;

namespace WindowsFormsApplication1
{
    public partial class Form2 : Form
    {
        private AxShockwaveFlash axShockwaveFlash;
        public Form2()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            axShockwaveFlash = new AxShockwaveFlash();
            axShockwaveFlash.Dock = DockStyle.Fill;
            splitContainer1.Panel2.Controls.Add(axShockwaveFlash);
            axShockwaveFlash.FlashCall += new _IShockwaveFlashEvents_FlashCallEventHandler(axShockwaveFlash_FlashCall);
            axShockwaveFlash.Movie = "http://d3.sina.com.cn/201108/09/332345_780-90.swf";
        }

        void axShockwaveFlash_FlashCall(object sender, _IShockwaveFlashEvents_FlashCallEvent e)
        {
            
        }
    }
}
